package com.zhongyouyun.cqyc.service;

import com.zhongyouyun.cqyc.model.PocketBookModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhongyouyun.cqyc.pojo.PocketBookPojo;

import java.util.List;
import java.util.Map;

/**
 * @Author: shenyi
 * @Date: 2023-10-20
 * @Description: 口袋书服务类
 */

public interface PocketBookService extends IService<PocketBookModel> {

    IPage<PocketBookModel> selectPage(Page<PocketBookModel> userPage, QueryWrapper<PocketBookModel> queryWrapper);

    List<PocketBookModel> selectList(QueryWrapper<PocketBookModel> queryWrapper);

    IPage<PocketBookPojo> selectPojoPage(Page page, QueryWrapper<PocketBookPojo> queryWrapper);

    List<Map> getPocketBookList(String search);
}
